<template>
    <app-layout :memu-tree="memuData">
        <transition name="router-fade" mode="out-in">
            <router-view> </router-view>
        </transition>
    </app-layout>
</template>
<script>
import AppLayout from '../../components/AppLayout';

export default {
    components: {
        AppLayout,
    },
    data() {
        return {
            memuData: [
                {
                    path: '/user',
                    text: '用户相关',
                    icon: 'ios-person',
                    subMemu: [
                        { path: '/user', text: '用户总览' },
                        { path: '/user/list', text: '所有用户' },
                        { path: '/user/list', text: '会员用户' },
                        { path: '/user/list', text: '试用用户' },
                    ],
                },
                {
                    path: '/user',
                    text: '用户轨迹',
                    icon: 'ios-person',
                    subMemu: [
                        { path: '/user/order', text: '用户订单' },
                        { path: '/user/product', text: '用户玩具' },
                    ],
                },
            ],
        };
    },
};
</script>

<style scoped lang="less">

</style>
